home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
System Booster
/
System Booster.iso
/
Texteditors
/
Mg1b
/
Source
/
amiga
/
sleep.c
< prev
next >
Wrap
C/C++ Source or Header
|
1996-09-26
|
390b
|
23 lines
/*
* Name: MicroEmacs
* AmigaDOS sleep function
* Version: 31
* Last Edit: 18-Apr-86
* Created: 18-Apr-86 ...!ihnp4!seismo!ut-sally!ut-ngp!mic
*/
/* There are really 60 ticks/second, but I don't want to wait that */
/* long when matching parentheses... */
#define TICKS 45
extern long Delay();
#ifdef LATTICE
void
#endif
sleep(n)
int n;
{
if (n > 0)
Delay((long) n * TICKS);
}